package com.duobaoyu.dby.supply.biz.client.resource;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.duobaoyu.dby.supply.biz.client.resource.bean.dto.DictionaryDTO;
import com.duobaoyu.dby.supply.biz.client.resource.bean.vo.DictionaryVO;

import java.util.List;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName ResourceDictionaryAdminClient
 * @Description 字典admin client
 * @createTime 14:23:00 2023/10/08
 */
public interface ResourceDictionaryAdminClient {

    Boolean updateDictionary(DictionaryDTO dictionary);

    Boolean removeDictionaryByIds(List<Long> dictionaryIds);

    Page<DictionaryVO> queryPage(DictionaryDTO dictionary);

    Long saveDictionary(DictionaryDTO dictionary);
}
